package com.lyk.coursearrange.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.lyk.coursearrange.entity.Student;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@TableName("tb_schedule")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ScheduleDto extends Model<ScheduleDto> {
    private static final long serialVersionUID=1L;

    /**
     * 排课id
     */
    @TableId(value = "schedule_id", type = IdType.AUTO)
    private Long scheduleId;
    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 课程名称
     */
    private String courseName;
    /**
     * 老师id
     */
    private Long teacherId;

    /**
     * 教师姓名
     */

    private String teacherName;
    /**
     * 日期
     */
    private String courseDate;
    /**
     * 开始时间
     */
    private String courseTimeOn;
    /**
     * 结束时间
     */
    private String courseEndTime;
    /**
     * 是否结课1：结课2：未结课
     */
    private Long classEnding;
    /**
     * 学生id
     */
    private List<StudentDto> studentList;
}
